#ifndef COMPARABLE_H_
#define COMPARABLE_H_


class Comparable
{
public:
	virtual ~Comparable(){}
	virtual bool equals(Comparable& in) = 0;
	virtual bool operator==(Comparable& in){return equals(in);}
	virtual bool operator!=(Comparable& in){return !equals(in);}
};


#endif /* COMPARABLE_H_ */
